<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="title.jsp"/>
<meta charset="utf-8"/>
 <meta name="keywords" content="贷款，信用贷，分期，借款，万八千，信用借款，借款5000元，小额现金贷" />
  <meta name="description" content="万八千提供快速的小额借款服务。可以借款5000元、无抵押、无担保、万八千是一款针对成人白领市场的消费金融产品，通过互联网、大数据等科技手段，为用户提供短期的信用借贷，解决用户资金周转问题。"/>
<link href="css/style.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/default.css">
<link href="css/jquery.ui.datepicker.css" rel="stylesheet" type="text/css" />
<script src="js/jqbase.js"></script>
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/jquery.ui.core.js"></script>
<script type="text/javascript" src="js/jquery.ui.datepicker.js"></script>
</head>
<body style="background:#eaedf1;">
<jsp:include page="top.jsp"/>
	<div class="backstage no-mar">
		<div class="chose_btn clearfix">
			<a href="" class="frash fl"><img src="img/frash.png"></a>
			<button value="" onclick="location.href ='/excelPassRate'">导出报表</button>
		</div> 
		<table class="caozuo audit">
			<tr>
			    <th>日期</th>
				<th>注册用户数</th>
				<th>申请用户数</th>
				<th>机审通过</th>
				<th>机审驳回</th>
				<th>初审通过</th>
				<th>初审驳回</th>
				<th>复审通过</th>
				<th>复审驳回</th>
				<th>终审通过</th>
				<th>终审驳回</th>
				<th>授信额度</th>
				<th>放款金额</th>
			</tr>
			<c:if test="${ !empty map.list }">
				<c:forEach items="${map.list }" var="passRate">
					<tr>
					    <td>${passRate.date }</td>
						<td>${passRate.register }</td>
						<td>${passRate.auth_apply }</td>
						<td>${passRate.machine_pass }</td>
						<td>${passRate.machine_reject }</td>
						<td>${passRate.material_pass }</td>
						<td>${passRate.material_reject }</td>
						<td>${passRate.again_pass }</td>
						<td>${passRate.again_reject }</td>
						<td>${passRate.final_pass }</td>
						<td>${passRate.final_reject }</td>
						<td>${passRate.total_credit }</td>
						<td>${passRate.lending_money }</td>
					</tr>
				</c:forEach>
			</c:if>
			
		</table>
		<div class="page clearfix">
		  <div ><font color="red"></font></div>
                <div class="page-link fl">
                    <a href="passRate.html?page=1&pageSize=${map.pageSize }">首页</a>
                    	<c:choose>
                    		<c:when test="${map.page-1 <=0 }">
                    			<a onclick="alert('已经是首页')">上一页</a>
                    		</c:when>
                    		<c:otherwise>
                    			<a href="passRate.html?page=${map.page-1 }&pageSize=${map.pageSize }">上一页</a>
                    		</c:otherwise>
                    	</c:choose>
                    <a class="active" >${map.page }</a>
                    <c:choose>
                    		<c:when test="${map.page+1 > map.totalPage }">
                    			<a onclick="alert('已经是尾页')">下一页</a>
                    		</c:when>
                    		<c:otherwise>
                    			<a href="passRate.html?page=${map.page+1 }&pageSize=${map.pageSize }">下一页</a>
                    		</c:otherwise>
                    </c:choose>
                    <a href="passRate.html?page=${map.totalPage }&pageSize=${map.pageSize }">尾页</a>
                </div>
                <div class="page-info fl">共<span>${map.totalRow }</span>条信息&nbsp;&nbsp;当前显示第<span>${map.page }</span>页</div>
         </div>
	</div>
</div>
<jsp:include page="foot.jsp"/>
<jsp:include page="left.jsp"/>
</body>
</html>